package com.sean.uml.classrelationship.generalization;

public class AutoCar extends Car{

    public AutoCar(String name) {
        this.name = name;
    }

    @Override
    public void driver() {
        System.out.println(this.name +" driver");
    }
}
